<template>
  <div>
    <el-image 
      :src="url"
      :preview-src-list="srcList" 
      style="width: 100px; height: 100px">
    </el-image>
  </div>
</template>

<script>
export default {
  //组件名
  name: "ElImageCom",
  //实例的数据对象
  data() {
    return {
      url: "https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg",
      srcList: [
        "https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg",
        "https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg"
      ]
    };
  },
  methods: {
    
  }
};
</script>

<style lang="less" scoped>

</style>